/*
 * @Author: C.
 * @Date: 2023-04-04 09:10:46
 */
//销售订单详情配置
import { getTableMaps, getDescMaps } from '/~/utils/help/createFields';
// import { useI18n } from '/@/hooks/web/useI18n';
// const { t } = useI18n();
import { getDetailTableColums } from '/~/utils/help/erphelp';
// 描述组件配置
export const descSchemas = getDescMaps([
  'CustomerName',
  'Currency',
  'State',
  'SalesReps',
  'RelationId',
  'DeliveryDate',
  'Creator',
  ['CreationDate', { span: 24 }],
  'Remarks',
]);
// 明细表格配置
export const tableColumns = getDetailTableColums(
  getTableMaps([
    {
      dataIndex: 'DeliveryQty',
      title: '发货数量',
      width: 100,
    },
    {
      dataIndex: 'ReturnQty',
      title: '退货数量',
      width: 100,
    },
  ]),
);
